<template>
  <el-row type="flex" justify="center" align="middle" style="height: 60px">
    <!-- 分页组件 -->
    <el-pagination
      :current-page="pageParams.page"
      :page-sizes="[2, 5, 8, 10]"
      :page-size="pageParams.pagesize"
      layout="total, sizes, prev, pager, next, jumper"
      :total="total"
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
    />
  </el-row>
</template>

<script>
export default {
  props: {
    pageParams: { type: Object, required: true },
    total: { type: Number, required: true }
  },
  methods: {
    handleSizeChange(val) {},
    handleCurrentChange(val) {}
  }
}
</script>

<style>
</style>
